#include<iostream>

using namespace std;

class Person{
public:
    Person(){
    }

    Person(string name, int id){
        m_name=name;
        m_id=id;
    }

    void eat() {cout<<m_name<<endl; cout<<m_id<<endl;}
    void sleep() {}
    void work() {}
private:
string m_name;
int m_id;

};

class zhangsan: public Person{
//继承

};

int main()
{
    zhangsan z("zhangsan",14);
    z.eat();
    
    return 0;
}